//mocha --timeout 5000 chai.asyncfs.test2.js
let book = require('../book2');
let expect = require("chai").expect;


describe("async", () => {
    it('read book async', function (done) {
        book.read((err, result) => {
            expect(err).equal(null);
            expect(result).to.be.a('string');
            done();
        })
    })
})
